/**
 *
 */
package jfuzzyprincepless.negotiation.services.impl;

import java.util.Collections;
import java.util.List;

import jfuzzyprincepless.agents.INegotiatingAgent;
import jfuzzyprincepless.negotiation.services.IAgentsListService;

public class AgentsListService
	implements IAgentsListService
{
	private List<INegotiatingAgent> agentsList;

	public AgentsListService(List<INegotiatingAgent> agentsList) {
		this.agentsList = agentsList;
	}

	public AgentsListService() {
		this(Collections.<INegotiatingAgent>emptyList());
	}

	@Override
	public List<INegotiatingAgent> getAgentsList() {
		return agentsList;
	}
}